/* post */
.post {
    padding: 8px 15px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    cursor: pointer;
}

.post:hover {
    /* background-color: rgba(0, 0, 0, 0.01); */
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
}

.post:hover .post-img {
    transform: scale(1.05);
}

.post::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-100%);
    transition: 0.5s ease-in-out;
}

.post:hover::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
}

.post::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-200%);
    transition: 0.5s ease-in-out;
}

.post:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
}


.post>a {
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.post-tag {
    color: #212529;
    border-bottom: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 0.25rem;
}

.post-tag:hover {
    text-decoration: none;
    background-color: rgba(239, 125, 11, 0.1);
    color: #ef7d0b;
    border-bottom: 2px solid #ef7d0b;
}

.post-head {
    margin: 0.5rem 0;
    color: #212529;
    transition: 0.3s ease-in-out;
}

.post-head:hover {
    color: #ef7d0b;
}

.post-body {
    margin: 0.5rem 0;
    color: #212529;
}

.post-foot {
    color: rgba(239, 125, 11, 0.75);
    transition: 0.3s ease-in-out;
    border-bottom: 2px solid rgba(239, 125, 11, 0.75);
    text-decoration: none;
}

.post-foot:hover {
    background-color: rgba(239, 125, 11, 0.1);
    border-bottom: 2px solid #ef7d0b;
    color: #ef7d0b;
    text-decoration: none;
}

.post-img {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
    transition: 0.3s ease-in-out;
    width: 144px;
    height: 144px;
}

@media (max-width: 576px) {
    .post-img {
        margin-top: 0.5rem;
        margin-left: 0.5rem;
        transition: 0.3s ease-in-out;
        width: 72px;
        height: 72px;
    }
}